const Router = require('koa-router');

const userController = require('../../controllers/userController')


const router = new Router();

router
    .get('/users/checkUsername', userController.checkUsername)
    .post('/users/register', userController.register)
    .post('/users/login',userController.login)

module.exports = router;